package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Koumiba
 * @since 2017-03-24
 */
@TableName("tb_wallpaper")
public class Wallpaper extends Model<Wallpaper> {

    private static final long serialVersionUID = 1L;
    /** 主键ID */
	@TableId
	private Long tbid;
    /**
     * 壁纸名称
     */
	private String title;
    /**
     * 壁纸地址
     */
	private String url;
    /**
     * 壁纸宽度
     */
	private Integer width;
    /**
     * 壁纸高度
     */
	private Integer height;


	public Long getTbid() {
		return tbid;
	}

	public void setTbid(Long tbid) {
		this.tbid = tbid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	@Override
	protected Serializable pkVal() {
		return this.tbid;
	}

}
